﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Windows.Forms;

namespace CXMLStudioIDE.Common
{
    [Serializable]
    public class CBFormCtrls
    {
        // Fields
        private ArrayList ctrlItemList;
        private static DataFormats.Format format = DataFormats.GetFormat(typeof(CBFormCtrls).FullName);

        // Methods
        public CBFormCtrls()
        {
            this.ctrlItemList = new ArrayList();
        }

        public CBFormCtrls(object[] ctrls)
        {
            this.ctrlItemList = new ArrayList();
            foreach (object obj2 in ctrls)
            {
                CBFormCtrlItem item = new CBFormCtrlItem(obj2);
                this.ctrlItemList.Add(item);
            }
        }

        // Properties
        public ArrayList CtrlItemList
        {
            get
            {
                return this.ctrlItemList;
            }
        }

        public static DataFormats.Format Format
        {
            get
            {
                return format;
            }
        }
    }

 

}
